import { routes, adminroute, captainroute } from '@/router'

let state = {
  routes: routes,
  adminroute: adminroute,
  captainroute: captainroute
}

const mutations = {
  initRoutes: (state) => {
    state.routes = routes
    state.adminroute = adminroute
    state.captainroute = captainroute
  }
}

const actions = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
